package com.example.fraud;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface FraudCheckHistoryRepository
        extends JpaRepository<FraudCheckHistory, Integer> {

    List<FraudCheckHistory> findAllByEmailAndIsFraudster(String email, Boolean isFraudster);
}